home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TPUG - Toronto PET Users Group
/
TPUG Users Group CD
/
TPUG Users Group CD.iso
/
AMIGA
/
(A)TB
/
(A)TBP.ADF
/
BootPic
/
BootPic.doc
< prev
next >
Wrap
Text File
|
1991-06-20
|
9KB
|
214 lines
*******************************************************************************
* *
* BootPicV1.0 *
* *
* ⌐ 1991 by Andreas Ackermann *
* *
*******************************************************************************
CONTENTS:______________________________________________________________________
1. About shareware
2. Introduction
3. Installation
4. About the Parser
5. Kompatibility
6. What happens after resetting the machine ?
7. Possible sources of errors
8. About the programming
_______________________________________________________________________________
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡
SHAREWARE-CONDITIONS:
BootPic is SHAREWARE. You are allowed to copy BootPic as long as the
following conditions are kept :
o BootPic mustn't be changed
o This DOC-file must be included
o It mustn't be charged any fee (besides fees for copying or disks etc.)
If you like BootPic and if you use it regularly or if you include parts of
the source in your own programms (e.g. the fading-routines) please feel free
to send me a small donation of 5$ or 5DM.
If you want to use BootPic as part of a commercial programme, you need my
written permission.
My Address: Andreas Ackermann
Lorenz-Summa-Str.10
W-8679 Oberkotzau
GERMANY
Tel.:09286/6399
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡
Please note:
I wrote this software instead of doing a holiday job. If I'm able to earn some
money in this way, other programmes and updates will follow (e.g. color-cycling,
intuition-interface, or how about installing libraries resident [useful with
arp.library] or a programme to generate Videotitles ?
INTRODUCTION
Do you belong to the group of people who think the ½Workbench-hand╗ that
appears after every reset to be boring ?
Then BootPic is the right thing for you. It allows you to load (nearly) any
IFF-ILBM-picture instead of the ½hand╗. (Overscan, HAM, Halfbright, etc.) It
just has to be in compressed form. (e.g. DPaint saves its pictures in compressed
form ).
The installed programme uses 1K more memory than the length of the picture-file.
[If there, it uses fast-memory]
INSTALLATION
BootPic can be started either from Workbench or CLI. It is controlled by
commandline parameters.
Particularities when started from WB :
- The parameters have to entered in the window that opens.
- You MUST'T enter BootPic in front of the paramters.
- To exit from BootPic, simply enter one character and press RETURN.
If you want to specify the parameters again, simply press RETURN.
The syntax is as follows :
BootPic -e | -l{IFF-File} [-s][-r][-c rgb]
-l{IFF-File} Removes, if present, an old picture and then tries to install
a new one instead.
Message if it had success:
½Picture successfully installed. Have Fun !╗
Possible faults:
½Couldn't open Picture-File╗
½This is not an ILBM-Picturefile╗
½Picture is not compressed╗
½Warning:Couldn't find CAMG-Chunk╗
CAMG-Chunk not found : The viewmodes are saved in this chunk
[e.g. Hires or Interlace etc.]. Until Kickstart 1.3 the picture
will be shown correctly despite of CAMG's missing.
[RESTRICTION: instead of Halfbright, HAM will be selected.]
½BODY-Chunk not found╗
ILBM-File didn't contain image-data (should never happen).
½Memlist corrupt. Something went totally wrong╗
Meaning see at -e
½Not enough Memory╗
-e Removes, if present, an old picture.
Message if successful:
½Removed BootPic from List╗
Possible faults:
½BootPic not installed. Couldn't remove it╗
½Memlist corrupt. Something went totally wrong╗
BootPic discovered its memory, but it couldn't find its entry in
the resident table (should never happen).
The following parameters work only together with -l :
-s loads the file specified by -l only if BootPic is not yet
installed. In this way it is possible to use BootPic in the
Startup-Sequence.
If BootPic was already installed it prints out :
½BootPic already installed. Changed nothing.╗
-r BootPic resets the machine after loading the picture.
-c here you can specify the color which should be faded in after
showing the picture. Normally this is the background color of
your Workbench-Screen. The values of r,g and b must be specified
hexadecimal, so values from 0-9 and a-f are valid. [0 means that
this component isn't there at all and f means that it is there at
maximum idensity. (e.g. -c000 for black, -ce50 for orange).
Invalid values are accepted but the result will be other than
expected.
Default: 05a [Amiga-blue]
EXAMPLE:
¡¡¡¡¡¡¡¡ To install the picture that is included on this Disk, do the
following steps:
Put this disk in df0: , load BootPic via Workbench by double-click
on its icon and enter the following line :
-l df0:bootpic/demo.pic
After resetting and removing any disks in df0: you can watch the
picture.
ABOUT the PARSER
All parameters may be specified either as small or capital letters. Every
parameter MUST start with ½-╗, the order is at pleasure. Between the single
parmeters any number of spaces may be typed .
Valid calls would be :
bootpic -l :BootPic/demo.pic -R -c 7aB
bootpic -E
bootpic -cAE3 -S -l:bootpic/demo.pic
If -e or -l aren't specified, or if something else was typed wrong, BootPic
shows the usage.
If -e AND -l are specified, BootPic acts as if just -e was specified.
KOMPATIBILTY
BootPic installs itself in a ½kindly╗ way, that means that any other resident
programme won't be removed, e.g. Guardian, CARD:, but also viruses.
In the same careful way it removes itself.
What happens after RESETTING the machine ?
When BootPic was successfully installed, the loaded picture will be faded in
softly whenever there's no bootable disk in df0: .
When inserting a bootable disk the colors will be faded softly to the color
specified under -c and your system starts as usual .
[The fading of HAM-pictures looks a little bit curious but that's NO bug.]
If you press the left mouse button while the picture is shown, the usual
workbench-hand appears.
Possbile SOURCES of ERRORS
Normally a picture that was once installed, stays in memory until you remove
it with -e or till you switch off your Amiga.
But there are some exceptions:
a.) If you play a game that believes all the memory belongs to itsself, it
is possible that the memory allocated by BootPic is overwritten.
Then you won't see the picture any more.
b.) Many viruses simply overwrite the reset-vectors. In this case BootPic
will be gone, too.
c.) Some virusdedectors (e.g. ATool) are of the opinion that every resident
programme is a virus, so BootPic will be removed, too.
If one of these cases should arise, it may be possible, that you get a GURU
after a reset. If you can't remove it by clicking the left mousebutton,
switching off the Amiga is the only thing you can do.
PROGRAMMING
BootPic was written with the Devpac 2.14D - Assembler, that's the reason for
its small code size [less than 4K ].
[For more information look into source-code ].
Many thanks go to JM Forgeas for the wonderful editor AZ V1.50.
BootPic works well under Kickstart V1.2 and 1.3, but I wasn't able to test it
under Kickstart 2.0.
I am very thankful for critics, propositions and BUG-reports. If you expect a
reply letter PLEASE send an extra DM or $ for postage.
ENJOY !
Oberkotzau, april 1st 1991 Andreas Ackermann [*10.07.1974]
[ excuse my mistakes !!! ]